|
|
<DIV id=list>( M6 P, t% P }% p
<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
( x( u4 m' z) x& b<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
: p/ `9 J! }* s. P! R' ]<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>9 j* E9 |( [8 ? m* x; M0 l Z
<DIV id=lrc3 style="COLOR: #666666"></DIV>
8 I# B0 t/ S& v<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>+ [( A( e3 a' M3 w
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>. Z, U* a- s8 q
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>6 t2 b) M: s7 \8 p! I; H
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>8 ~; G q# e- k6 F+ Y' p5 \. }8 x
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>8 V b& R+ E. S G8 k
<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>8 V+ r9 d3 L3 ~9 V4 _8 H
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>2 e3 l6 K9 \- i' |% S+ l
<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>. F5 ^$ } O( }$ K0 n0 m
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
/ m% |) b3 t7 d, N* R<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
# e( Q% c6 q8 _<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
9 u3 z% R G$ A' R) Z! U. c9 x<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
6 @' q0 O& e" A- s- [$ V* Y+ `<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>/ c% }( w$ \) e% `; O U, _
<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
" b7 Z+ f, }) p+ k4 g* J+ s<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>0 X- }% U5 W; I: l% ~$ G
<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
: O \% \) r2 V<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>
. A( a9 V" p' r<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV># B% x; w) H! k! C- T
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>" @5 ?1 F G3 F: U" u/ P/ t# g% W
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>8 I, t7 S# B0 _
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>
3 z+ Q% h' p8 n7 ~. N<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>4 v; ]. n6 _/ k* I9 {' A
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
2 A: @8 h2 Z7 Y+ J# a" j8 I9 y<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>0 b u' h" a5 n9 b( B9 r; q
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>+ p0 P# [) [0 Z' K# j4 s% [
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>
4 d9 t) E" _' T: ]1 O# g<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>$ D N! l/ O# A$ c# j% R* A
<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
0 b }# D: C. H' o# f) D4 w/ g+ D<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
( N6 ^- [" f( W3 F" {% \( ]5 R<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>
# e* R" \8 E( I<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>) W0 s1 ]; Z' N3 `' p, e
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
( T. v/ M$ a7 L6 k9 _<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV># I4 C- }; y4 [7 c6 }9 _2 a7 N! Q# m
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>. ^2 f% F, E( N: K/ a
<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
; e( ?0 z( A' C) H. i( @& t- ]9 c( H" `<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV># \2 _3 _1 |7 J7 h- u3 Q! N
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>4 f+ R& V4 Z- P' r: r/ S
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>- ?; ^0 w( O- Q; o6 E
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>+ h# e7 y! s4 O9 Q; |' L
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>
7 S9 F' S: ]+ d6 k0 S. j* W<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>9 {; U, a N6 S; ?2 V t
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
( B8 q" e9 ~' I- U0 J7 J. Z<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>2 E& k1 S! f4 k% ?4 `
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV> _- k2 Q8 q- `9 J
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>
. k$ J0 G" K: Y9 `6 e y' U$ }<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>
% C% S2 Z7 C# f5 `- u% f<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
4 v, Q! s7 y# M5 d' w5 p+ Q2 i<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>* ^8 a) e" q* |# ^/ c
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>
% \* d/ X" W: f# I. p& S<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖
: e' y" B* i, j<DIV id=lrc style="DISPLAY: none"></DIV>8 g/ X/ a1 } k- ~7 S
<SCRIPT type=text/javascript>
! W Z8 L3 X$ }1 D6 R+ odocument.domain="1ting.com";- a( J( h) W5 k. A
var colorPasted="#666666";& R0 [! }3 o* s }6 H9 f& E
var colorPlaying="#ff3300";
: U2 F8 A5 n, K& I/ Dvar colorNormal="#000000";6 G- W/ p* E. r1 h* S# a
$ = function (a,g){: _2 l7 J6 o9 G
var o = new Array();
+ {3 \) k2 \6 c. T var c = new Array(); 6 _; D# s: K2 z0 p
var r; % a. ]! D8 V; D; l% ~) z8 p9 L
var u;
; u! v" A7 U: f9 ] G var a = a.split(';'); 7 B; P; [+ ~. b" x- U; j
$ b3 |: v- {& B$ | Y var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");
3 |! C/ B/ l O1 |# Y; r for(var i=0;i<e.length;i++){' S7 x! l t7 Y/ o/ x
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
7 _ C5 B4 }( c2 Q5 V: w6 K2 b }
0 O, v _) @' W* X2 B9 s% R* w/ N9 a0 G
after = function (t,d,s){
4 |" F5 A8 ?" y $after = function (){( P5 O) ^. A. H- ~( E
var $n=document.createElement(t);
0 }" G7 K" N3 A& I" R if(d!=null){# _( {' T+ k1 s0 K8 a
$n.id=d; 5 i3 ]8 \1 _) ^: [
}
8 _5 `- ]2 J4 w
* u( F; G$ X3 ~3 | u.insertBefore($n,null)
% s, [. j/ L8 F2 ~ ~& @ r = $n;
$ g9 v l/ t/ \8 \" m# Q0 C0 Y u = $n; + y3 W3 \: o5 e# f$ n
}6 s% t) ^. Q' _8 k/ e7 @3 I
$for(s,"$after")0 V) F& H$ w$ k% w, X9 x! T
}. S3 ^# y, A, L8 K; ^
5 T+ L1 E0 |- M$ D) [6 \, z
show = function (s){
- z. ^0 z1 d) m, w' y $show = function (){' ?4 X% h" k, f. n; L- G
u.style.display!="none" ? style("display:none") : style("display:block") ;/ P1 r$ R- e Z# Z" Y
}! v! @# v' Q% f/ @
$for(s,"$show")* w& {+ y4 i+ o0 B
}+ g# d+ M7 i" X. e% ?
( Z1 ]; I6 w. h' { check = function (t,s){! }. K, y R* j' M/ |& R, ~
$check = function (){8 ~5 @# p. J( E. \
if(t=="2"){
+ d4 c" e+ i4 m if(u.checked){0 C6 `: k- q z1 G
u.checked = false;
9 C& H" Z, D8 Y. P7 [8 D3 g }else{' [0 [% u* \' j; a
u.checked = true;& Y# a2 D. z1 ]1 d# d
}
6 t* [* J A# f) L, Y, y& L }else{, E# D" a7 j0 V8 D) R6 N5 q$ l
u.checked = t*1 ;
s2 k+ I9 K, o' W9 Z }- V" _- E( L! J+ Z5 M
}" h* a6 W2 }# O5 s# G- @4 y$ A, ^
$for(s,"$check")0 n. N l1 F0 }9 j- f6 r9 s5 f
}8 H- g# \, n7 A: u4 s3 M1 t; E5 `
5 S. F% `8 |- T1 F2 J/ {2 g# I3 n style = function (v,s){7 A5 N9 }' f, f
$style = function (){0 _9 P" T" r( O H/ G2 Y2 f; {
var $n = v.split(",") $ P! L( Z% T! Y* x
for (var i=0;i<$n.length;i++ ){& V) q# C% e( f" m2 \
var $m = $n<i>.split(":")
( V7 B$ u% I# X: @# Z$ W eval("u.style."+$m[0]+"='"+$m[1]+"'");2 L) F: e% |1 g9 @; P: F' Q
}9 M8 o- S, P5 O' ?" B7 J- w m7 R) y' z
}
' W, G& Q/ A# x$ ^ $for(s,"$style")
. H! v. e& \+ C. t2 R }
- [9 T7 m/ a% Y2 ]- `: B# g% G8 E3 C' Q; n
value = function (v,s){
: `3 g1 I' L: d" v var $n= $this (v);
* }* c: j) A4 z$ J6 l) E C5 ^ $value = function (){4 B k( L# y2 V" s) R& a
u.value = $n
+ z; l0 ^& ]8 C+ a o$ T& o+ R }; F, d; d8 v7 w9 |0 k( r# [/ O" X
$for(s,"$value") ( n5 T+ N! z5 i w9 \1 B) d; U
}0 w6 [5 P4 M8 P6 }' d2 J1 i8 {0 ~
, o, a& D) s/ I$ k& r, _ text = function (v,s){2 v' q# r8 g/ K0 o2 _: Q' P7 `7 L) h
var $n= $this (v);9 Y' {/ u5 B: h" P5 r
$text = function (){
8 `6 {& v' _6 Z1 z$ O- N. U
+ x) u7 M5 Y, O( i u.text = $n* Q( w3 L0 w. P3 g! ^
}' y$ {: j& S/ f+ I* v. u$ H8 g
$for(s,"$text") # y+ e5 ?! i7 @9 m3 @& W2 b
}- \) r2 ~1 P0 N& D
: C' T, A7 N, J. I innerhtml = function (v,s){7 i; u+ k* T% S+ n, w( _2 q/ K
var $n= $this (v);9 ]: J' R8 E: @* x2 l* ?! o" a
$innerhtml = function (){) ^. ~, F/ B" q$ G4 |
u.innerHTML = $n
4 N( }5 A& O# f' E }
* B' e' G( ] \0 T* p3 y9 y $for(s,"$innerhtml")
2 j! W- h: B+ t4 N- x }
! ^. a- ]4 c0 X9 b+ ~( A ; V& b& l* v& ?) ?/ ?' |$ q! p
removechild = function (s){4 U6 i" O0 x- d7 l/ n' ?5 O
$removechild = function (){
' X K. B* X- k u.parentNode.removeChild(u)# R) z/ E& w' R; k
}
; Q6 [. u' j- ]5 M( C" s $for(s,"$removechild")
+ U. a7 Z# b1 }* V$ A }7 E* a3 N& z; o2 b! D
; h; P9 o) m' c% G. B: [0 e/ G $this =function(v){
7 m0 ^4 l5 v" s$ _" Z1 C if(v.indexOf("this") == 0){
& h7 w4 U2 D2 h- d return eval(v.replace("this","u")); Z/ |9 d5 E4 X+ v v8 t# s: G
}4 H' j; f; s3 P
return v;
5 s' c9 S5 C# Q- M" X8 A$ m- m }
2 ` E& x( R3 i* j1 r8 k! U7 i; L/ W4 ], U. ~ z$ R
$event = function (s){
( k" H; @" a! Y* y var $n ="u."+s+" = function(){$work(this,s);}"
1 b; C+ x3 [6 U' T return $n;
4 A$ ]' t$ ?+ t# e5 [6 n; I4 v) Q: H }
- G8 F( k( a3 O: c0 L: I( E3 N9 s( q; j
$replace = function (s){' f; I' ~' [+ H2 d
' M6 @% d* |& o; H8 d' Q$ E
}
. I) d( D0 |. R1 P: @+ ~, |- p# Q& h: ^ G) O) ?8 w2 g! A5 a
$for = function (s,c){, b# E. I6 a' x- Z
var $n="this."+c+"()" ;1 Y; L" b( n3 w" _/ U, b
if(s!=null){# \/ N% l1 \8 q. S( h
var $m =$test(s);5 w* k: U3 H9 ]7 P
for (var i=0;i<$m.length ;i++ ){. m3 a4 O, s+ u4 R5 s! R8 s+ ^
u = $m<i>;% Q+ k. e* z! z- H7 u" R
eval($n);
0 o! X# Q& u1 P& N3 f1 e6 F& I }
0 W( I, P' r% x: L. u& W }
+ ]9 Z6 S3 M* I# N% M else{
; G! c# Z! J6 L! L' f* R eval($n);+ X' M" f: d* t9 Q2 q
}
! k5 u( K; G" J }
7 e- X5 [! \2 z. R5 L2 J
, b8 [ s: z( p4 { $test = function (a){/ m0 x$ [6 a/ g* M
var o = new Array();$o(a.split(';'),o);
5 u$ X0 ?( t# @/ ^5 F return o;
+ Y2 f3 ^& t) |# g* A- o3 n! E }
( X$ ^# l Q' x% U
' w) m8 f8 C" D $format = function(s){
" v& q4 K0 f# e! j$ u: ^ while (s.indexOf("'")>0){6 o6 z' G- p5 b3 w: p$ K
s=s.replace("'","\"");5 L. x6 w) o6 }7 L( Y4 @
}
% Q+ _! y. q8 R while (s.indexOf("][")>0){
# O w8 i6 S1 l s=s.replace("][","','")
6 b) O6 M1 R! [! l }
; D8 b$ @1 D1 ]0 |5 K( V while (s.indexOf("[")>0){0 I6 V* p/ h1 D# Y% Q: v; n
s=s.replace("[","'").replace("]","'")
4 ?6 A2 ], a: t$ A0 {- R9 H8 m& L8 \ }
/ S, `& Q( d: \6 k2 p" A5 y return s;" P0 g1 t( `, N
}7 z* ^# q' Y8 D- Y$ ]
. u/ _; z! U* A2 _6 u( k$ c $work = function(w,s){" G z9 H/ a3 e6 o
u=w;eval(s)" ^; {" y9 f$ X; ]* p2 w
}$ m; c5 U! d a+ |8 W1 q3 L- e' I: f
9 H' _ v: G0 ~3 Z2 u $id = function (s){
9 ?/ V1 Z$ J6 u" U& [9 u return document.getElementById(s);( Q v5 b v) s* t/ R o
}
; z: J% H. _8 c% f2 k) P4 o6 {& `4 ]7 F
$name = function (s){
8 o) ]+ X3 j$ j M return document.getElementsByName(s);
- b2 W9 S% z- G" \: E. b }
" ^1 c, @8 N! x6 u; ?! F! S! q H1 x
$tagname = function (s){- P9 {0 }6 B8 u5 w5 @
return document.getElementsByTagName(s);
7 ~1 r+ f+ M+ O3 F( q }
' t2 y% E4 c+ T1 r( Z3 o; r/ K0 E: `. H T8 `4 e7 ]" Y
$o = function (a,o,c){
4 J8 N# ?9 Q" u! Q& b" p' c$ P# Q3 W $push = function (n) {$ M3 v5 v) D* L2 P: ~) c
for (var i=0;i< n.length;i++ ){" ?4 \6 H( d' w5 P1 g4 O+ r
o.push(n<i>);
8 m7 n* Q7 F/ u; i) K2 j } ) w9 F: Z0 ^# H2 ?
}5 \0 R+ ] {7 L6 q" o+ J) P
for(var i=0;i<a.length;i++){# o- b- v; q1 |1 J' g2 f& Q
if(a<i>.indexOf("(") >= 0){6 n6 V, m3 ^; q; n
c.push(a<i>);
! t3 f, i f3 `* V2 D }
5 E( ~; m' D+ c* G if(a<i>.indexOf("~") > 0){6 T1 T" \/ m4 _8 Z/ o& w" @* L
try {
% {4 U4 m, J' g2 r $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
% A+ s/ t- E9 \# V }catch(e)
( n0 b5 C! g) C' ^8 \% q {} ' l8 O( H H4 n) c# }7 {* @
}
' I) G" i8 ^. S+ n6 ^0 ` else{1 I- n6 a3 q; s( Q. i
if(a<i>.indexOf("#")==0){
7 F& O2 ^2 o9 w o.push($id(a<i>.replace("#","")));
6 w, \+ R: m6 _9 M8 u& ?5 ?8 u }, i [8 Z) N1 y
if(a<i>.indexOf(".")==0){
6 u/ \7 {6 c4 I$ g3 ^& n $push($name(a<i>.replace(".","")));, j' T5 E+ y3 q% Z w u' p
}
9 |& C5 O3 L4 V* b" T2 D if(a<i>.indexOf("@")==0 ){. A6 }0 {4 c" h
$push($tagname(a<i>.replace("@","")));! V/ K L* l, i, z5 w7 y% B3 e+ E( y
}
# ?8 m8 R. B) ?" `1 g h7 F$ k3 v if(a<i>.indexOf("*")==0){
$ _1 {! w+ @- \# F5 S s $p= a<i>;
! }- x7 ^1 ?: O: {% q$ { if($p.indexOf(".")< 0){+ R V. r' V5 }9 F
$p = $p.replace("parent","parentNode")
, o( o5 g0 x% t1 z2 U1 ] }0 R% |8 n8 v/ i0 M& ?# D" V$ G1 \5 i
var $p ="u."+$p.replace("*","");
% J+ Z u* H! f$ u; i$ ? d1 I while ($p.indexOf("parent.")> 0){
& D4 n5 A1 O2 u/ ?2 h" [2 H: ^ $p = $p.replace("parent.","parentNode.")
f8 k+ V: X* [+ a, \% s/ C }
$ F* o' X Y: k, b9 V; @* ? while ($p.indexOf("child{")> 0){8 E9 J% l8 H" c5 s3 f; {8 e( u
$p = $p.replace("child{","childNodes[").replace("}","]")
2 Y' E+ M. J/ Z& i- N3 X }
$ i( `, b7 U/ F o.push(eval($p));
& C+ R! G+ s& q$ o9 z. ~3 {) B } x- i6 G4 G6 H9 u y$ u# G
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){/ l7 S$ F/ p6 x n8 P1 e d1 M: t- a
o.push(eval(a<i>));
/ F" \( X7 r0 z+ `% s }
/ U% i9 {: M5 {% K. w! b } v* ]; b& H6 I& C$ v: T! L) Q
if(g!=null){
# s/ O- s% F V7 A. F; y: V o.push(g);g=null
" U6 e9 q3 k: n2 B) s; B2 [5 s1 v } + D A5 a! H! a& T9 p, c* N
}
+ _2 Y( Y, _* k- t. E }
3 }/ d7 p# y' A$ U; I1 Y& J" l# P! @* P( r0 K
$o(a,o,c);
8 ^. p7 i0 J5 t6 A1 y8 ^* I! c9 I. f7 K! Z
for(var i = 0;i<o.length;i++){' h! M9 ~! r) ] |9 z
for(var j=0;j<c.length;j++){2 z. s4 p. J# g* o! S
u = o<i>;eval($format(c[j]));
7 k& s: y" o% H. {) I }
% H. R" X9 Q1 b! p$ O }
; O0 W; ^& p" w5 V1 F2 N* ^5 L3 c/ _ b3 d, L6 H
if(o.length == 0){
. a( W: T2 g8 B1 D! ^; A for(var i=0;i<c.length;i++){+ |0 x9 `' R/ ^! E& ]0 `$ G( U
eval($format(c<i>));3 R* U9 w% i$ ^% N- H$ e" O8 g
}8 r, L- ^- @4 d/ D: |
}
0 [- \. }3 R8 t 7 L I6 [$ C. ?( B: x( w. ^" W
if(r!=null){
& u: c8 U+ d6 O- |+ B return r;' W8 D6 Q) M4 h# `5 ]6 W3 ^
} y3 H; m, W1 D- _
9 r. Y9 @# a# h* `' j0 ?- ? if(o.length==1){
/ L7 f7 w& d" e/ Q3 M return o[0];
1 t( H5 F, l" O }
" |9 S% I' I+ J2 _* Z9 y else{
1 E1 g& r7 R3 _6 M8 s, u& D# K return o+ n8 @3 i9 q% r2 L2 o0 m
}
* J. o3 d* j5 e/ P , J, Z0 o" W/ C/ w, Z0 M
}
! Q, k# d0 Y! |7 yvar lrc =$("#lrc;show()").innerHTML.split("[");& N3 N' L1 v2 c* J7 G% j
if(lrc.length>5){# |& s" @3 j$ p2 m: M. R
var array = new Array();
3 \' S- i: q4 X( vfor (var i=0;i<lrc.length ;i++ )& |: q3 g" b5 x& u& M" Y
{/ m7 Z4 K) _1 [& y7 c# V4 |
var g = new Object();* F3 q$ T- c8 y
t= lrc<i>.split("]");' N# {' a# o2 y9 v+ p. e
g.time = getTime(t[0]);
( o. q* L9 ]5 K/ ^) f if(isNaN(g.time))
o6 n1 C3 o; W- R continue;
9 m$ Y2 N5 L. s2 d8 | g.c = t[1];/ ]8 T( P, a8 e3 a" `* Y2 c3 S% P
if(g.c == "")
: V, i3 K5 F5 Z! L% W y5 [ g.c = getNext(i);
$ E% M r, M3 A9 n6 `( a array.push(g);
- x I8 M9 x3 d/ ?( z}
7 \& E1 n9 z. w5 uarray.sort(function(x, y) {
- G& d( c3 g9 o% j3 ] if (x.time>y.time)
+ v. B1 w: M2 C2 l1 o. ~ return 1;4 Q( t* V0 ]9 l; O, R j/ \' P
else if(x.time<y.time)4 O& P0 j8 }" |! j3 e8 P
return -1;) I5 |3 f9 S" ^
else
# A" R# F" ^5 A3 f% G! | return 0;& [# l: b: W2 ]) ^" I5 v
}
+ j! ?+ I2 E- ^4 H$ x$ I);* e1 k" O& f' u8 c, s0 x7 H
for(var i = 0;i<array.length;i++)" B# F3 s" x) d: D* c( j' \
{
4 g+ C5 [% N; x var g = array<i>;+ C1 g/ ^7 o+ f- b4 E
if(!g.c){7 c3 V/ m$ Y$ L" t9 o/ p
g.c="";( _9 y; C A' `( q
}
9 ~% X4 C* l/ Z5 M $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";0 W9 m* B0 v5 t8 [
}$ |% K) `2 ` ^1 L u3 E6 W2 t
var time = setInterval("lrcList()",500); 2 |5 A3 J U0 e Y
}else{. a& o& f" p- V. j2 Y) I
$("#list").innerHTML=$("#lrc").innerHTML;
' d$ k. Q! b& B6 L}
1 x) @( @, o" c+ [* \: Y% qfunction getNext(i)
& P$ g( P$ f* D; k7 o; j6 X{3 a: K! I# ^; k8 l' g
var result = "";" Z) ~6 s2 U* {! R/ D0 C
var i = i+1;: b+ Z* U7 p6 A+ }7 e2 N6 n* A
t = lrc<i>.split("]");; Q C8 B7 i. s! X+ m
if(t[1]=="")
3 S: V" u/ i4 V5 I result = getNext(i);# L8 `% _5 H7 Q2 j! d
else
/ M2 z+ u. `% N8 ]7 Q result = t[1]
1 ^. X, `( s) o3 r! k return result;
6 s- R* q1 a: u}9 K5 j# u5 y2 y7 ?9 a$ [8 _
9 g6 P: } j5 |( ^' b- X( Q, a# R
function getTime(str)1 k8 T# o# w3 Y y8 [) w
{2 T: ^7 W9 G$ s4 |, f+ y
var time =0; W+ l! Q9 F5 H+ i1 ]( a
var ta = str.split(":");0 E0 v9 X' S: W+ o/ t3 R0 Q4 D( B
if(ta.length<2)
3 u2 g" T: d3 e$ @! N6 G! J return time;
+ a+ Y, d j |3 o- X
+ S5 G+ ^/ I& L4 C5 i0 N- b if(ta[1].indexOf(".")>0){* X+ b* N# j1 @; Q
var tb = ta[1].split(".");
; F, z/ t1 i# Z2 j; ]% { time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;% k, O$ J8 P' q$ Y
}
/ U4 p2 l* o- X3 v2 j else5 F% }0 f1 D8 O7 f3 h
time =ta[0]*60*1000+ta[1]*1000; b: F D) h. [! @7 S/ q
return time;3 g2 @- A, r, X* e3 ?
}
- `0 K8 S( Z9 R+ P, qvar preTime = 0;
3 P* f& W$ v9 w" F2 ?var nextTime = 0;
$ ]0 e- E' |$ B3 b) Xvar currIndex =0;( g0 }" I. K8 G: T6 s# f5 ~6 |
function lrcList(){) k6 `3 c! [9 v5 E# G
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
% N3 z0 O/ z" a6 f+ Z; C s = s*1000;' ^6 g, q7 ~5 k& a9 V
if(s==0){
! }. t$ m: ]1 Y1 ^ currIndex =0;; Q+ M! K) T5 t
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
! J, D- l5 w- q& z. u5 H. I3 n9 U for(var i=0;i<array.length;i++){
/ S6 i% }6 T- A: v document.getElementById("lrc"+i).style.color=colorNormal;; ] S$ U1 _0 r
}9 E( f4 B# h7 P: l- H
return;
0 W/ r6 ^9 p- L( B }% f/ ]- ?' u9 H, \8 L
if(s>0&&currIndex<array.length-1)- w( \4 z4 j a, K
{
" k' U1 }/ {6 o preTime = array[currIndex].time;
( Q$ O1 O. y6 _2 w; Z2 P5 a4 h9 n
+ G4 u# N- p( h5 a nextTime = array[currIndex+1].time;
) b; h; K+ Q- w' M7 d6 u! q
: W5 p% }& A o% m) {% U if(s>=preTime&&s<nextTime){, V$ U6 a' }1 n
}! F" v* P3 a. S
else if(s>=nextTime). w" F+ Y: g7 h
{! ]6 y1 } y% y9 B
document.getElementById("lrc"+currIndex).style.color=colorPasted;! [, |8 d" f1 @, p% C' Q' L3 S
currIndex++;
, t3 v5 O1 @/ j/ E4 ^ $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
2 ~2 g0 Y E% Z document.getElementById("lrc"+currIndex).style.color=colorPlaying;4 ~$ {5 {. ?. s3 Z: T. }
lrcList();( ~) C* d& R. B% X
}, Y! w7 u& ]9 u# \ L" O. {1 q
else{0 W2 g9 C) R3 @
document.getElementById("lrc"+currIndex).style.color=colorNormal;; m* _4 V) b9 d' o
currIndex--;& A) J7 S0 E/ U; q' d# Y
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;" G- k1 |1 b4 x& k- F0 g1 r
document.getElementById("lrc"+currIndex).style.color=colorPlaying;
; m& T U$ E1 l+ V0 a# B/ G3 }6 E lrcList();
4 |( h3 | R- v0 F f* J }
0 B( ]% q* I4 |, @2 ?# @ }
# h. G: X+ C' f0 { l else) x7 K2 \. p* c
{! s @9 L/ j; [" p6 t4 J4 Q; {) N( @7 I
if(s<array[array.length-1].time){
) j2 A+ Q8 K S+ d currIndex = 0;; Z% ]3 p! c1 K$ k' @
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;+ C% P, ?; E# e1 n8 k9 J V8 a3 `
for(var i=0;i<array.length;i++){1 K! Q' U I3 L" X* c$ |, n% @9 P) a
document.getElementById("lrc"+i).style.color=colorNormal;8 Y- ]$ D7 h9 Z$ h g0 z D6 q
}7 t- Z& \- \) t5 T; E- ?
lrcList();" b; d; O8 ^0 l. u
}
, y5 Q5 l" P+ M4 i }
d& c7 F; h* @/ l}
8 @( y/ n% q4 v2 f0 Z</SCRIPT>) c8 u( Q$ z9 w) ]7 p, j
</DIV></DIV>
2 ] Z ~* f* ]3 l) J: l2 b9 ~
U. x6 r: X2 y& R( f1 X[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|